from django.db import models
from django.contrib.auth.models import User
from django.db.models.signals import post_save



# Create your models here.
class Job(models.Model):
    title=models.CharField(max_length=225,null=False,blank=False,verbose_name="Job Title")
    job_created=models.DateField(auto_now_add=True)
    posted_by=models.ForeignKey(User,null=False,blank=False)
    description=models.TextField(null=False,blank=False,verbose_name="Job Description")
    dead_line=models.DateField(null=True,blank=True)
    requirements=models.TextField(null=False,blank=False,verbose_name="Job Description")
    status=models.BooleanField()
    

